﻿namespace DNFImagePacks2Manager.NPK
{
    public interface IConvertIMGV2
    {
        public IMGV2File Convert2IMGV2File();

        public static ImageBitmapFile ConvertBitmapFromColorPanel(ImageBitmapFile bitmapFile)
        {
            return new ImageBitmapFile(
                        bitmapFile.GetDataBytes(),
                        bitmapFile.ImageWidth, bitmapFile.ImageHeight,
                        bitmapFile.FrameWidth, bitmapFile.FrameHeight,
                        bitmapFile.PositionX, bitmapFile.PositionY);
        }

        public ImageBitmapFile? ConvertBitmapFromDDS(ImageDDSFile ddsImage)
        {
            return null;
        }
    }
}
